package com.nuoniu.sibanyun.service.production;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.production.VProductionFinishDetail;
import com.nuoniu.sibanyun.entity.production.VProductionWorkDetail;

import java.util.List;

/**
 * <p>
 * 生产领退补料单明细 服务类
 * </p>
 *
 * @author 小啊刚
 * @since 2021-02-23
 */
public interface IVProductionFinishDetailService extends IService<VProductionFinishDetail> {
    /**
     * 通过主表ID 查询单据明细1
     * @param mainId
     * @return
     */
    List<VProductionFinishDetail> listByMainId(Long mainId);

    /**
     * 获取 明细
     * @param orderId
     * @return
     */
    List<VProductionFinishDetail> getDetailsByOrderId(Long orderId);

    void removeByOrderId(Long orderId);

}
